package code08_三大特征.bid;
/*
 * 麻雀类
 */
public class Spadger extends Bird {
	
	public Spadger() {
		super();
	}

	public Spadger(String name, String color) {
		super(name, color);
	}

	@Override
	public void fly() {
		System.out.println("我是麻雀"+getName()+"，我动作敏捷，飞的比火箭快！");
	}
	
	@Override
	public void eat() {
		System.out.println("我不仅吃种子，也吃害虫！");
	}
}


